// Element Plus的变量声明
// 预先声明mixins.scss中使用的变量
$B: null;
$E: null;
$M: null;
$NS: null;
$is-rtl: null;
$namespace: "el";
$common-separator: "-";
$element-separator: "__";
$modifier-separator: "--";
$state-prefix: "is-";
$block: null;

// 预先声明其他可能用到的变量
$colors: () !default;
$typography-color: () !default;
$common-component-size: () !default;
$button: () !default;
$input: () !default;
$select: () !default;
$popover: () !default;
$card: () !default;
$dialog: () !default;
$table: () !default;
$descriptions: () !default;
$radio: () !default;
$checkbox: () !default;
$switch: () !default;
$form: () !default;
$tabs: () !default;

// 侧边栏菜单相关变量
$sideBarWidth: 220px;
$menuBg: #304156;
$menuText: #bfcbd9;
$menuActiveText: #409eff;
$subMenuActiveText: #f4f4f5;
$menuTitleHover: #fff;
$subMenuBg: #1f2d3d;
$subMenuHover: #001528;
$menuActiveBefore: #409eff;

// 定义CSS变量
:root {
  --el-color-primary: #409eff;
  --el-color-primary-light-3: #79bbff;
  --el-color-primary-light-5: #a6d0ff;
  --el-color-primary-light-7: #d3e9ff;
  --el-color-primary-light-8: #e6f2ff;
  --el-color-primary-light-9: #f2f8ff;
  --el-color-primary-dark-2: #337ecc;
  --el-color-success: #67c23a;
  --el-color-success-light-3: #95d475;
  --el-color-success-light-5: #b3e19d;
  --el-color-success-light-7: #d1edc4;
  --el-color-success-light-8: #e1f3d8;
  --el-color-success-light-9: #f0f9eb;
  --el-color-success-dark-2: #529b2e;
  --el-color-warning: #e6a23c;
  --el-color-warning-light-3: #eebe77;
  --el-color-warning-light-5: #f3d19e;
  --el-color-warning-light-7: #f8e3c5;
  --el-color-warning-light-8: #faecd8;
  --el-color-warning-light-9: #fdf6ec;
  --el-color-warning-dark-2: #b88230;
  --el-color-danger: #f56c6c;
  --el-color-danger-light-3: #f89898;
  --el-color-danger-light-5: #fab6b6;
  --el-color-danger-light-7: #fcd3d3;
  --el-color-danger-light-8: #fde2e2;
  --el-color-danger-light-9: #fef0f0;
  --el-color-danger-dark-2: #c45656;
  --el-color-error: #f56c6c;
  --el-color-error-light-3: #f89898;
  --el-color-error-light-5: #fab6b6;
  --el-color-error-light-7: #fcd3d3;
  --el-color-error-light-8: #fde2e2;
  --el-color-error-light-9: #fef0f0;
  --el-color-error-dark-2: #c45656;
  --el-color-info: #909399;
  --el-color-info-light-3: #b1b3b8;
  --el-color-info-light-5: #c8c9cc;
  --el-color-info-light-7: #dedfe0;
  --el-color-info-light-8: #e9e9eb;
  --el-color-info-light-9: #f4f4f5;
  --el-color-info-dark-2: #73767a;
  --el-bg-color: #fff;
  --el-bg-color-page: #f2f3f5;
  --el-bg-color-overlay: #fff;
  --el-text-color-primary: #303133;
  --el-text-color-regular: #606266;
  --el-text-color-secondary: #909399;
  --el-text-color-placeholder: #a8abb2;
  --el-text-color-disabled: #c0c4cc;
  --el-border-color-darker: #cdd0d6;
  --el-border-color-dark: #d4d7de;
  --el-border-color: #dcdfe6;
  --el-border-color-light: #e4e7ed;
  --el-border-color-lighter: #ebeef5;
  --el-border-color-extra-light: #f2f6fc;
  --el-fill-color-darker: #e6e8eb;
  --el-fill-color-dark: #ebedf0;
  --el-fill-color: #f0f2f5;
  --el-fill-color-light: #f5f7fa;
  --el-fill-color-lighter: #fafafa;
  --el-fill-color-extra-light: #fafcff;
  --el-fill-color-blank: #fff;
  --el-box-shadow: 0px 12px 32px 4px rgb(0 0 0 / 4%),
    0px 8px 20px rgb(0 0 0 / 8%);
  --el-box-shadow-light: 0px 0px 12px rgb(0 0 0 / 12%);
  --el-box-shadow-lighter: 0px 0px 6px rgb(0 0 0 / 12%);
  --el-box-shadow-dark: 0px 16px 48px 16px rgb(0 0 0 / 8%),
    0px 12px 32px rgb(0 0 0 / 12%), 0px 8px 16px -8px rgb(0 0 0 / 16%);
  --el-disabled-bg-color: var(--el-fill-color-light);
  --el-disabled-text-color: var(--el-text-color-placeholder);
  --el-disabled-border-color: var(--el-border-color-light);
  --el-overlay-color: rgb(0 0 0 / 80%);
  --el-overlay-color-light: rgb(0 0 0 / 70%);
  --el-overlay-color-lighter: rgb(0 0 0 / 50%);
  --el-mask-color: rgb(255 255 255 / 90%);
  --el-mask-color-extra-light: rgb(255 255 255 / 30%);
  --el-border-width: 1px;
  --el-border-style: solid;
  --el-border-color-hover: var(--el-text-color-disabled);
  --el-border: var(--el-border-width) var(--el-border-style)
    var(--el-border-color);
  --el-svg-monochrome-grey: var(--el-border-color);
}
